package com.bbu.javaexam.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bbu.javaexam.domain.Score;

import java.util.List;

/**
 * @author Alex
 * @version 1.0.0
 * @ClassName ScoreService.java
 * @Description TODO
 */
public interface ScoreService extends IService<Score> {
    int add(Score score);

    List<Score> findAll();

    IPage<Score> findById(Page page, Integer studentId);

    List<Score> findById(Integer studentId);

    List<Score> findByExamCode(Integer examCode);
}
